package com.gooluke.mybatis.mapper;

import com.gooluke.mybatis.annotation.Param;
import com.gooluke.mybatis.entity.TUserInfo;

import java.util.List;

/**
 * @author gooluke
 * description
 * datetime 2025-06-17 18:51
 */
public interface UserMapper {

    int deleteByUserId(@Param("userId") String userId);

    int updateByUserId(TUserInfo userInfo);

    TUserInfo selectByUserIdAndPassword(@Param("userId") String userId,@Param("password") String password);

    TUserInfo selectByUserId(@Param("userId") String userId);

    List<TUserInfo> selectUserList(TUserInfo userInfo);

    List<TUserInfo> selectUserListByPage(TUserInfo userInfo);

}
